package cn.wolfcode.luowowo.search.repository;

import cn.wolfcode.luowowo.search.template.UserInfoTemplate;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IUserInfoTemplateRepository extends ElasticsearchRepository<UserInfoTemplate,Long> {
    /**
     * 查询目的地下所有用户
     * @param name
     * @return
     */
    List<UserInfoTemplate> findByDestName(String destName);
}
